/*
 * G4_CAT1.h
 *
 *  Created on: Jul 23, 2024
 *      Author: yuxuan
 */

#ifndef G4_CAT1_H_
#define G4_CAT1_H_

#include <stdint.h>
#include "main.h"
#include "usart.h"
#include "top_scheme.h"


////设备MQTT参数定义
//typedef struct
//{
//	const char clientID;			//客户端ID
//	const char username;			//username
//	uint32_t MQTT_password;			//设备密码
//	const char service_IP;			//服务器地址
//	const char MQTT_topic_get;		//订阅的主题
//	const char MQTT_topic_update;	//发布的主题
//
//}_G4_CAT1;


////设备默认参数
//#define G4_clientID				00003|securemode=3,signmethod=hmacsha1| 			//客户端ID
//#define G4_username  			4G_DTU&k0up5DsURPr 									//username
//#define	G4_MQTT_password        91E113F1F028FBBA660715330410F2FF09D6651F   			//密码
//#define G4_service_IP 			k0up5DsURPr.iot-as-mqtt.cn-shanghai.aliyuncs.com   	//服务器地址
//#define G4_MQTT_topic_get 		/k0up5DsURPr/4G_DTU/user/get  						//订阅的主题
//#define G4_MQTT_topic_updata 	/k0up5DsURPr/4G_DTU/user/update   					//发布的主题
//
//extern _G4_CAT1 _G4_CAT1;

void G4_send(void);
void G4_receivedate(uint8_t *rx_data,uint8_t len);


#endif /* G4_CAT1_H_ */
